<?php
/**
 * Created by PhpStorm.
 * User: xiongrui
 * Date: 2017-06-30
 * Time: 17:17
 */

namespace app\admin\validate;




class MustBePostivelnt extends BaseValidate
{
  protected $rule = [
      'id'    => 'require|isPositiveInteger'
  ];

  protected function isPositiveInteger($value, $rule='', $data='', $field='')
  {

      return true;
  }
}
